package com.suxin.socket.vaca.model;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @author Tang
 * @classname MqMessage
 * @description [  ]
 * @date 2021/4/1 17:15
 */
@Data
@AllArgsConstructor
public class MqMessage {

    /**
     * 收信人ID
     */
    private List<Integer> userIds;
    /**
     * 数据
     */
    private WsResponse response;

    @Override
    public String toString() {
        return JSON.toJSONString(this, SerializerFeature.WriteMapNullValue);
    }
}